package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RechargePayMode {
    saving(0, "saving"),
    payment(1, "payment"),
    penalty(2, "penalty"),
    redpack(3, "redpack"),
    rebate(4, "rebate"),
    sign_in(5, "sign_in"),
    logout(6, "注销扣除");

    @EnumValue
    private final int code;
    private final String desc;

    RechargePayMode(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
